package vip.fuxk.blog.data;

import cn.hutool.core.lang.tree.Tree;
import cn.hutool.core.lang.tree.TreeNode;
import cn.hutool.json.JSONObject;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Data
@TableName(value = "t_data",autoResultMap = true)
public class DataVo extends HashMap<String,Object> {

    public Long data_id;

    public Long parent_id = 0L;

    @TableField(typeHandler = ListJsonTypeHandler.class,javaType = true)
    public List<DataBreadcrumbInfoVo> breadcrumb;

    public String code;

    public LocalDateTime create_time;

    public LocalDateTime update_time;

    public Boolean deleted = false;

    public Long sort_num;

    public String name;



}
